KtorReadStandardKeyValueRepo

class KtorReadStandardKeyValueRepo<Key, Value>(baseUrl: String, unifiedRequester: UnifiedRequester, keySerializer: KSerializer<Key>, valueSerializer: KSerializer<Value>, valueNullableSerializer: KSerializer<Value?>) : ReadStandardKeyValueRepo<Key, Value>

Constructors

Link copied to clipboard
fun <Key, Value> KtorReadStandardKeyValueRepo(baseUrl: String, client: <ERROR CLASS>, keySerializer: KSerializer<Key>, valueSerializer: KSerializer<Value>, valueNullableSerializer: KSerializer<Value?>, serialFormat: StandardKtorSerialFormat = standardKtorSerialFormat)

Functions

Link copied to clipboard
open suspend override fun contains(key: Key): Boolean
Link copied to clipboard
open suspend override fun count(): Long
Link copied to clipboard
open suspend override fun get(k: Key): Value?
Link copied to clipboard
open suspend override fun keys(pagination: Pagination, reversed: Boolean): PaginationResult<Key>
open suspend override fun keys(v: Value, pagination: Pagination, reversed: Boolean): PaginationResult<Key>
Link copied to clipboard
open suspend override fun values(pagination: Pagination, reversed: Boolean): PaginationResult<Value>